From: fry Date: Mon, 24 Oct 2011 09:39:01 +0000 (+0200) Subject: window-manager: Fix variable name X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7324 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b71e66c335fb03b096568afb07039a4fe27f3682;p=gnome-shell.git window-manager: Fix variable name In _shouldAnimate() _animationBlockCount was referred to as _animationsBlocked, fix this. https://bugzilla.gnome.org/show_bug.cgi?id=662394 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 473e9babb..d827b22bb 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -160,7 +160,7 @@ WindowManager.prototype = { }, _shouldAnimate : function(actor) { - if (Main.overview.visible || this._animationsBlocked > 0) + if (Main.overview.visible || this._animationBlockCount > 0) return false; if (actor && (actor.meta_window.get_window_type() != Meta.WindowType.NORMAL)) return false;